package com.test.application.designPatterns.factory.simpleFactory;

/**
 * 描述: 咖啡抽象类
 * 作者: yanruizhi
 * 时间: 2024/9/23 17:36
 */
public abstract class Coffee {
    public abstract String getName();

    public void addSugar() {
        System.out.println("加糖");
    }

    public void addMilk() {
        System.out.println("加奶");
    }
}
